import { SysPlaces } from "@/api/interface/index";
import { PORT_SysPlaces } from "@/api/config/servicePort";
import http from "@/api";

/**
 * @description: 系统地点类目列表
 * @param {SysPlaces.ReqResSysPlacesListParam} params
 * @returns {Promise<SysPlaces.ResSysPlacesListDto[]>}
 */
export const getSysPlacesList = (params: SysPlaces.ReqResSysPlacesListParam) => {
  return http.post<SysPlaces.ResSysPlacesListDto[]>(PORT_SysPlaces + `/list`, params);
};
